/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.sh.ndt.question.dao;

import com.sh.ndt.exception.DAOException;
import com.sh.ndt.question.entity.Question;
import java.util.List;

/**
 *
 * @author Prashanth
 */
public interface QuestionDAO {
    public List<Question> getQuestions(long categoryId) throws DAOException;
    public List<Question> getQuestionsOnRowcount(long categoryId, int rowCount) throws DAOException;
    public String markAsFailed(long scheduleId, long scheduleStatus) throws DAOException;
    public String markAsPassed(long scheduleId, long scheduleStatus) throws DAOException;

    public String updateMockSession(long userId, long testId, int result, int creditPoint) throws DAOException;
}
